//用户等级
import http from "@/utils/http";
import {EnumAlias} from "@/utils/common";
//分页
export function tagsInfoPage(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/tagsInfo/page`,
    method: "get",
    params
  });
}
//创建
export function tagsInfoCreate(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/tagsInfo/create`,
    method: "post",
    data
  });
}
//修改
export function tagsInfoUpdate(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/tagsInfo/update`,
    method: "post",
    data
  });
}
//修改会员标签信息状态
export function tagsInfoChangeStatus(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/tagsInfo/changeStatus`,
    method: "post",
    data
  });
}
//删除
export function tagsInfoDelete(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/tagsInfo/delete`,
    method: "post",
    data
  });
}
//详情
export function tagsInfoDetail(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/tagsInfo/detail`,
    method: "get",
    params
  });
}
//list集合
export function tagsInfoList(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/tagsInfo/list`,
    method: "get",
    params
  });
}
